<template>
  <div id="h2">
    <van-cell title="选择路线" is-link />
    <van-cell center title="极速模式">
      <template #right-icon>
        <van-switch v-model="checked" size="24" />
      </template>
    </van-cell>
  </div>
</template>

<script>
import { Cell, Switch } from "vant";
export default {
  data() {
    return { checked: true };
  },

  components: {
    "van-switch": Switch,
    "van-cell": Cell,
  },
};
</script>

<style lang="less" scoped>
#h2 {
  padding: 10px 0;
}
</style>
